package pl.koziczak.knowledgeintegration.model;

import pl.koziczak.knowledgeintegration.model.type.*;

public class Element {
	
	private String name;
	private String value;
	private String fullPath;
	private Type type;
	private boolean attribute;
	
	public Element() {
	
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public String getFullPath() {
		return fullPath;
	}

	public void setFullPath(String fullPath) {
		this.fullPath = fullPath;
	}
	public Type getType() {
		return type;
	}

	public void setType(Type type) {
		this.type = type;
	}
	
	public boolean isAttribute() {
		return attribute;
	}
	
	public void setAttribute(boolean attribute) {
		this.attribute = attribute;
	}
	
	@Override
	public String toString() {
		return "Element[ " + this.name + " " + this.getValue() + " " +this.getFullPath() + "\n"; 
	}
}
